*{
    margin: 0;
    padding: 0;
}
ul,li {
    list-style-type: none;
}
a{
    text-decoration: none;
}
html,body{
    height: 100%;
}
header{
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    line-height: 60px;
    background-color: #2980B9;
    color: white;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}
header span{
    margin-right: 10px;
}
main{
    padding-top: 60px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: stretch;
}
main aside{
    width: 150px;
    background-color: #2980B9;
}
main aside .block{
    padding: 20px 30px;
    color: #ccc;
}
main aside .block span{
    margin-right: 10px;
}
main aside .block.active{
    background-color: #1F618D ;
    color: white;
}

#box{
    flex: 1;
    margin: 30px;
    padding-top: 20px;
}
.searchbox{
    margin-bottom: 20px;
}
.searchbox input{
    outline: none;
    min-width: 300px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding-left: 20px;
    margin-left: 10px;
    margin-right: 20px;
}
.searchbox .search{
    padding: 10px 30px;
    background: #5DB85B;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}
.addbox .add{
    display: inline-block;
    background: #5DB85B;
    padding: 12px 25px;
    color: white;
    border-radius: 10px;
    margin-left: 10px;
    text-align: center;
    cursor: pointer;
}
.addbox .add span:nth-child(1){
    margin-right: 10px;
}

.table{
    width: 900px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.table .table-head{
    overflow: hidden;
}
.table li{
    width: 100px;
    float: left;
    line-height: 40px;
    padding-left: 10px;
    text-align: center;
    font-weight: 1000;
}
.table li:nth-child(1){
    width: 230px;
    text-align: left;
}

.table .table-body .row{
    width: 900px;
    border-top: 2px solid #ccc;
    overflow: hidden;
}
.table .table-body .row li{
    font-weight: normal;
    float: left;
}
.table .table-body .row:hover{
    background-color: #f5f5f5;
}
.table .table-body .row li:nth-child(6){
    color: white;
}
.table .table-body .row li:nth-child(6){
    display: block;
    width: 60px;
    background-color: #5BB75F;
    border-radius: 10px;
    margin-left: 30px;
    margin-top: 5px;
    line-height: 30px;
    text-align: center;
    padding: 0;
   
}
.table .table-body .row li:nth-child(7){
    width: 70px;
    margin-left: 45px;
    padding: 0;
    margin-top: 4px;
}
.table .table-body .row li:nth-child(7) span{
    margin: 0 8px;
    cursor: pointer;
}
.table .table-body .empty{
    text-align: center;
    margin: 50px;
    color: red;
}
.ope{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ope span{
    margin: 0 10px;
    border: 1px solid #ccc;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
}

/* 遮罩 */
.mask{
    background-color: rgba(0, 0, 0, .3);
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    display: none;
}
.mask .content{
    padding: 30px;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
}
.mask .content .line{
    margin-bottom: 20px;
}
.mask .content .line input{
    height: 40px;
    border: 1px solid #ccc;
    outline: none;
    padding-left: 20px;
}
.mask .content .line:last-ch他ild{
    display: flex;
    justify-content: center;
}